package demon1;

public class Test {
    public static void main(String[] args) {
        Generic <String> generic=new Generic<>("aaa");
        String key1=generic.getKey();
        System.out.println(key1);

        Generic<Integer> generic1=new Generic<>(100);
        Integer key2= generic1.getKey();
        System.out.println(key2);
    }
}
